#!/bin/sh

if [ "${0##*.}" = 'post-upgrade' ] && [ "$(apk version -t "$2" '2.4.1-r0')" = '>' ]; then
	exit 0
fi

cat >&2 <<EOF
*
* If you need TimescaleDB features licensed under Timescale License
* (TSL module), you have to build postgresql-timescaledb-tsl aport from
* https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/non-free yourself
* Alpine Linux cannot provide non-free licensed software, as defined by OSI,
* in the repositories.
*
EOF

exit 0
